package prober;

public final class ContentSummary {

	private final Category category;
	
	private WordFrequencies wordFrequencies = new WordFrequencies();
	
	public ContentSummary(Category category) {
		this.category = category;
	}
	
	public void addWord(String word) {
		this.wordFrequencies.addWord(word);
	}

	public Category getCategory() {
		return category;
	}

	public WordFrequencies getWordFrequencies() {
		return wordFrequencies;
	}

	@Override
	public String toString() {
		return "ContentSummary [category=" + category + ", wordFrequencies="
				+ wordFrequencies + "]";
	}
	
	
}
